import httpInstance from "@/utils/axios.js";

//查询传人信息
export function getTrain(data){
    return httpInstance.post('/inheritor/getInheritorByCondition',data)
}

//新增传人信息
export function addTrain(data){
    return httpInstance.post('/inheritor/addInheritor',data)
}

//修改传人信息
export function updateTrain(data){
    return httpInstance.put('/inheritor/updateInheritor',data)
}

//删除传人信息
export function deleteTrain(data){
    return httpInstance.delete('/inheritor/deleteInheritor',data)
}
